package com.wish.blessingroad.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wish.blessingroad.entity.Blessing;
import com.wish.blessingroad.entity.returnBean.InviteUser;

import java.util.List;

/**
 * <p>
 * 祝福表 服务类
 * </p>
 *
 * @author dhc
 * @since 2019-02-18
 */
public interface IBlessingService extends IService<Blessing> {
    public int saveBlessing(Blessing blessing);
    public IPage<Blessing> selectPage(Blessing blessing,int pageNumber, int pageSize);
    public List<InviteUser> rankingBlessing(int pageNum, int pageSize);
    public void delBlessingEndTime(String time,int status);
}
